const prefix = `https://www.mxnzp.com/api/cookbook`

// ----------- 用关键字搜索菜谱信息 -----------
export const apiSearchRecipeByKeyword = `${prefix}/search`

// ----------- 获取食谱分类信息 -----------
export const apiGetRecipeCategories = `${prefix}/category`

// ----------- 根据菜谱分类id获取菜谱列表 -----------
export const apiGetRecipesByCategoryId = `${prefix}/list/category
`

// ----------- 获取菜谱详细信息 -----------
export const apiGetRecipeDetails = `${prefix}/details`

// ----------- 添加菜谱的评论信息 -----------
export const apiAddRecipeComment = `${prefix}/comment/add
`

// ----------- 获取菜谱对应的评论信息 -----------
export const apiGetCommentsForRecipe = `${prefix}/comment/list
`